package com.best.developer.myarchitecturedemo.data;

import android.app.Application;

import com.best.developer.myarchitecturedemo.data.local.LocalDataSource;
import com.best.developer.myarchitecturedemo.data.remote.DataRepository;
import com.best.developer.myarchitecturedemo.data.remote.RemoteDataSource;


public class Injection {

    public static DataRepository getDataRepository(Application application) {
        return DataRepository.getInstance(RemoteDataSource.getInstance(),
                LocalDataSource.getInstance(), application);
    }
}
